package org.ank.food;

import android.os.Handler;
import android.os.Message;
import android.widget.TextView;


public class DBCreateHandler extends Handler{
	
	public TextView indicator;
	
	public DBCreateHandler(TextView t){
		this.indicator = t;
	}
	
	@Override
	public void handleMessage(Message m){
		switch (m.what){
		case 1 :
			indicator.setText("fail");
			break;
		case 0 :
			indicator.setText("success");
			break;
		}
	}
}